call pkgconfig in order to be able to cross build qtbase with MySql.
authorHelmut Grohne <helmut@subdivi.de>
Mon, 23 Nov 2020 18:16:00 +0000 (18:16 +0000)
committerLisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Mon, 23 Nov 2020 18:16:00 +0000 (18:16 +0000)
commit3bbfcb4b0a2a2117d00420b540d9586d6cbc8ae0
tree1cefcd1a881bdba76006a98708de36e9b9fa9b93
parent226b0b8a55f2359f9f0cbdd01f9e73e8df0f7653
call pkgconfig in order to be able to cross build qtbase with MySql.

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=971604
Forwarded: not-needed
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Qt's build system calls mysql_config... which won't work in a cross build
environment like Debian's, as it will throw an exec format error.

In order to solve this call pkgconfig and use mysqlclient.pc.

Gbp-Pq: Name cross_build_mysql.diff
src/plugins/sqldrivers/configure.json